package com.matrix.draft.jvm.huibian;

/**
 * 测试不同方法的汇编指令
 * javap -v D:\projects\java\draft\jvm\target\classes\com\matrix\draft\jvm\huibian\TestMethod.class
 */
public class TestMethod {

    public TestMethod() {
    }

    private void invokeSpecial() {
    }

    public void invokeVirtual() {
    }

    public static void invokeStatic() {
    }

    protected void invokeProtected(){
    }

    public static void main(String[] args) {
        TestMethod t = new TestMethod();
        t.invokeSpecial();
        t.invokeVirtual();
        TestMethod.invokeStatic();
        t.invokeProtected();
    }
}
